package com.ocom.common.request.payconfig.repairpay;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ocom.common.vo.ugcapi.GzhUserInfo;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
public class GetRepairPayRecordListRequest implements Serializable {

    private static final long serialVersionUID = 7882276562999874154L;

    @NotNull(message = "comId 不能为空")
    private Long comId;
    private Long merchId;
    private Long pointId;
    private String deviceNo;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+08")
    private Date endTime;
    @JsonProperty(value = "pName")
    private String pName;
    private String accountNo;
    @JsonProperty(value = "pCode")
    private String pCode;
    private Long pId;
    private Integer status;
    private Integer payState;
    private int page = 0;
    private int size = 500;

    GzhUserInfo userInfo;

    private Integer type = 1;
}
